package pimp.organizermanager;

import java.util.*;

public class Comparer implements Comparator {
    public int compare(Object a, Object b) {
        if(Date.isEqual((Date) a, (Date) b)) {
            return 0;
        }
        else if(Date.compareDates((Date) a, (Date) b)) {
            return 1;
        }
        else {
            return -1;
        }
    }
}
